Skip to main content

CollapsibleView

CollapsibleView that on click reveals content, which is hidden again on another click

NameTypeDefault ValueRequiredDescription
textstringYestext displayed on the touchable
textColorstring | number | symbolNooptional color for the touchable text
contentInTextAreabooleantrueNooptional param that renders the child content outside text area when set to false (defaults to true)
a11yHintstringNooptional a11y hint
showInTextAreabooleantrueNoWhether to display any of the collapsible view in a text area. If false, contentInTextArea will have no effect. *
testIDstringNoOption Test ID